package com.pengtu.spring.boot.dubbo.demo.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.pengtu.spring.boot.dubbo.demo.api.HelloService;
import org.springframework.stereotype.Component;

/**
 * @author w.gang 97419077@qq.com
 * @date 2018/12/14 10:50
 */
@Service
@Component
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String msg) {
        return "hello " + msg + "!";
    }

}
